package com.songshuai.webapi.permission.dto.response;

import com.songshuai.webapi.permission.Util.Util;
import lombok.Data;

import java.util.Date;

@Data
public class UsersResDto {



    //部门Id
    private String deparentId;
    //部门名称
    private String deparentName;
    //工号
    private String workNo;
    //真实姓名
    private String trueName;
    //英文名
    private String ename;
    //性别
    private String sex;
    //邮箱
    private String email;
    //手机
    private String mobile;
    //是否离职 1 离职
    private String isLeave;
    //话务中心工号
    private String agentNo;
    //用户角色
    private String roleName;
    //用户ID
    private String userId;

    //创建时间
    private Date createTime;
    public String getCreateTime() {
        return Util.ChangeDateToString(createTime,"yyyy-MM-dd HH:mm:ss");
    }
}